package com.me.blood.frag;

import com.me.ad.ADType;
import com.me.bean.Ad;
import com.me.blood.App;
import com.toutiao.base.BaseAdTabFragment;

public abstract class BaseTabFragment extends BaseAdTabFragment {

    protected abstract ADType getXpType();

    @Override
    protected void loadXpAd() {
        if (!App.getApp().isEnable(getXpType())) {
            return;
        }
        super.loadXpAd(new Ad(App.getApp().getAdBean().interstitialId, getXpType()));
    }
}
